package ClassTest;
/*
User类
属性有用户名 密码 地址
 */
public class User {
    String user;
    String password;
    Address addr;
    public User(){

    }
    public User(String user,String password,Address addr){
        this.user = user;
        this.password = password;
        this.addr = addr;
    }
    @Override
    public String toString(){
        return "用户名："+user+" 密码："+password+" 家庭住址："+addr;
    }
}
